<?php /* Smarty version Smarty-3.1.8, created on 2019-07-16 20:14:48
         compiled from "/Users/aron/GitRepos/PHPBroShop/broshop/admin/views/default/login/index.html" */ ?>
<?php /*%%SmartyHeaderCode:12044101965d2dbfb84afe52-68482660%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '8d48f5eaad820f41bf2819fc50d05e5b21d84f88' => 
    array (
      0 => '/Users/aron/GitRepos/PHPBroShop/broshop/admin/views/default/login/index.html',
      1 => 1450315308,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '12044101965d2dbfb84afe52-68482660',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'res' => 0,
    'public' => 0,
    'url' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_5d2dbfb8535522_47635636',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5d2dbfb8535522_47635636')) {function content_5d2dbfb8535522_47635636($_smarty_tpl) {?><!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<!-- {$seo['title']} -->
		<title>管理员登录--欢迎使用BroShop商城管理系统</title>
		<!-- {$seo['keywords']} -->
		<meta name="keywords" content="{$seo['keywords']}" />
		<!-- {$seo['description']} -->
		<meta name="description" content="{$seo['description']}" />
		<link type="text/css" rel="stylesheet" href="<?php echo $_smarty_tpl->tpl_vars['res']->value;?>
/css/style.css" />
		<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['public']->value;?>
/js/jquery.js"></script>
		<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['public']->value;?>
/js/global.js"></script>
		<style type="text/css">
			body{background:#3C7DBE; font-family:'Microsoft Yahei','Simsun',"宋体"}
			.login_tt{font-size:24px; line-height:30px; color:#fff; width:462px; margin:0 auto; margin-top:150px; text-align:center}
			.login{background:url(<?php echo $_smarty_tpl->tpl_vars['res']->value;?>
/images/login_bg.png) no-repeat; width:462px; height:244px; margin:0 auto; margin-top:15px; padding-top:40px;}
			.input1{margin:0px 0 0 65px; font-size:14px; color:#888;}
			.input1 input{width:140px; height:28px; border:0; line-height:28px; margin-left:5px;}
			.input2{margin:23px 0 0 60px; font-size:14px; color:#888;}
			.input2 input{width:140px; height:28px; border:0; line-height:28px; margin-left:5px;}
			.input3_box{background:#fff url(<?php echo $_smarty_tpl->tpl_vars['res']->value;?>
/images/login_bg.png) no-repeat -36px -87px; border:1px #bbb solid; border-radius:5px; height:35px; line-height:32px;width:182px; padding-left:30px; color:#666; float:left;}
			.input3{margin:20px 0 0 33px;}
			.input3_box input{width:53px; height:28px; border:0; line-height:28px; margin-left:5px; margin-top:2px;}
			.input3 img{margin-left:3px; width:80px; height:32px; border:0; float:left; display:inline; margin-top:2px;}
			.login_btn{margin:25px 0 0 33px;}
			.login_btn input{background:url(<?php echo $_smarty_tpl->tpl_vars['res']->value;?>
/images/login_btn.gif) no-repeat; width:216px; height:43px; border:0; cursor:pointer;}
			.copyright{text-align:center; color:#BECAD6;}
			.copyright a,.copyright a:hover{color:#BECAD6;}
			.login .input_name{float:left; margin-top:3px; display:block;}
		</style>
	</head>
	<body>
		<div class="login_tt"><span class="num">BroShop</span>商城管理系统</div>
<form  method="post">
<div class="login" id="login-form">	
	<div class="input1"><span class="input_name">账 号:</span><input  type="text" name="name" value="" /><div class="clear"></div></div>
	<div class="input2"><span class="input_name">密 码:</span><input type="password" name="pw" value="" /><div class="clear"></div></div>
	<div class="input3">
		<div class="input3_box" style="position:relative;">
			<span class="fl">验证码:</span>
			<input class="fl" type="text" maxlength="4" onkeyup="if(this.value!=this.value.toUpperCase()) this.value=this.value.toUpperCase()" name="code" />
			<div class="clear"></div>
			<img src="<?php echo $_smarty_tpl->tpl_vars['url']->value;?>
&a=vcode" class="authcode" style="cursor:pointer; position:absolute; left:128px; top:0" />
		</div>
		<div class="clear"></div>
	</div>
	<div class="login_btn"><input type="submit" name="do_submit" value=" " /></div>
</div>
</form>

		
		<div class="copyright">Copyright <span class="num">&copy;</span> 2015-2018 <a href="http://www.ydma.cn" target="_blank">兄弟连 猿代码《细说PHP》</a> 版权所有</div>


		<script type="text/javascript">
			$(function(){
			
				$(":input[name='name']").focus();

				$(".authcode").click(function(){
					$(this).attr("src", $(this).attr("src") + '&time=' + new Date().getTime());
				});
				
				$(":submit").click(function(){
					if ($(":input[name='name']").val() == '') {
						alert('帐号不能为空！')
						return false;
					}
				
					if ($(":input[name='pw']").val() == '') {
						alert('密码不能为空！')
						return false;
					}
					
					return true;
				});
			});
		</script>
	</body>
</html>


<?php }} ?>